#ifndef __G_LABEL
#define __G_LABEL

#include "GWidget.h"

typedef struct _GLabel GLabel;
#define G_LABEL(any) ((GLabel *)(any))

extern GWidget *g_label_new(void);

/**
 * @brief 设置文本
 */
extern void g_label_set_text(GLabel *self, const unsigned char *text);

/**
 * @brief 设置文本颜色
 */
extern void g_label_set_text_color(GLabel *self, uint16_t color);

/**
 * @brief 设置文本背景颜色
 */
extern void g_label_set_background_color(GLabel *self, uint16_t color);

#endif
